package com.accp.hib;

import java.util.HashSet;
import java.util.Set;

/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class Users implements java.io.Serializable {

	// Fields

	private Integer userId;
	private String userName;
	private String userPassword;
	private Integer age;
	private String regTime;
	private String head;
	private Integer gender;
	private Integer flag;
	private Set tipsForBoardId = new HashSet(0);
	private Set replies = new HashSet(0);
	private Set tipsForUserId = new HashSet(0);

	// Constructors

	/** default constructor */
	public Users() {
	}

	/** minimal constructor */
	public Users(String userName, String userPassword, Integer age,
			String regTime, String head, Integer gender) {
		this.userName = userName;
		this.userPassword = userPassword;
		this.age = age;
		this.regTime = regTime;
		this.head = head;
		this.gender = gender;
	}

	/** full constructor */
	public Users(String userName, String userPassword, Integer age,
			String regTime, String head, Integer gender, Integer flag,
			Set tipsForBoardId, Set replies, Set tipsForUserId) {
		this.userName = userName;
		this.userPassword = userPassword;
		this.age = age;
		this.regTime = regTime;
		this.head = head;
		this.gender = gender;
		this.flag = flag;
		this.tipsForBoardId = tipsForBoardId;
		this.replies = replies;
		this.tipsForUserId = tipsForUserId;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPassword() {
		return this.userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getRegTime() {
		return this.regTime;
	}

	public void setRegTime(String regTime) {
		this.regTime = regTime;
	}

	public String getHead() {
		return this.head;
	}

	public void setHead(String head) {
		this.head = head;
	}

	public Integer getGender() {
		return this.gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public Integer getFlag() {
		return this.flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public Set getTipsForBoardId() {
		return this.tipsForBoardId;
	}

	public void setTipsForBoardId(Set tipsForBoardId) {
		this.tipsForBoardId = tipsForBoardId;
	}

	public Set getReplies() {
		return this.replies;
	}

	public void setReplies(Set replies) {
		this.replies = replies;
	}

	public Set getTipsForUserId() {
		return this.tipsForUserId;
	}

	public void setTipsForUserId(Set tipsForUserId) {
		this.tipsForUserId = tipsForUserId;
	}

}